package com.yonyou.cyxdms.sysmanage.client.vo.dealer;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yonyou.cyx.function.utils.jsonserializer.localdatetime.JsonLocalDateTimeDeserializer;
import com.yonyou.cyx.function.utils.jsonserializer.localdatetime.JsonLocalDateTimeSerializer;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;


/**
 * <p>
 * 经销商基本信息
 * </p>
 *
 * @author quankk
 * @since 2019-08-26
 */

public class DealerInfoAVO {
    /**
     *用于返回的id ,无需传入
     */
    @ApiModelProperty(value="用于返回的id ,无需传入")
    private Integer dealerInfoId;
    /**
     * 所属集团
     */
    @ApiModelProperty(value="所属集团")
    private Integer groupCompanyId;


    /**
     * 所属集团CODE
     */
    @ApiModelProperty(value="所属集团code")
    private String groupCompanyCode;


    /**
     * 需要修改的所有者代码
     */
    @ApiModelProperty(value="需要修改的所有者代码")
    private String oldDealerCode;
    /**
     * 所有者代码
     */
    @ApiModelProperty(value="所有者代码")
    private String dealerCode;
    /**
     * 经销商名称
     */
    @ApiModelProperty(value="经销商名称")
    private String dealerName;
    /**
     * 经销商简称
     */
    @ApiModelProperty(value="经销商简称")
    private String dealerShortname;
    /**
     * DCS来源日期
     */
    @ApiModelProperty(value="DCS来源日期")
    @JsonDeserialize(using = JsonLocalDateTimeDeserializer.class)
    @JsonSerialize(using = JsonLocalDateTimeSerializer.class)
    private LocalDateTime sourceChangedAt;
    /**
     * 详细地址
     */
    @ApiModelProperty(value="详细地址")
    private String address;
    /**
     * 省
     */
    @ApiModelProperty(value="省")
    private Integer provinceId;
    /**
     * 市
     */
    @ApiModelProperty(value="市")
    private Integer cityId;
    /**
     * 县
     */
    @ApiModelProperty(value="县")
    private Integer countyId;
    /**
     * 有效状态
     */
    @ApiModelProperty(value="有效状态10041001")
    private Integer validStatus;
    /**
     * 所有者的父组织代码（用于二网使用）
     */
    @ApiModelProperty(value="所有者的父组织代码（用于二网使用）")
    private String ownerParCode;
    /**
     * 联系电话
     */
    @ApiModelProperty(value="所有者的父组织代码（用于二网使用）")
    private String phone;
    /**
     * 是否授权
     */
    @ApiModelProperty(value="是否授权")
    private Integer isAuz;
    /**
     * 税号
     */
    @ApiModelProperty(value="税号")
    private String taxNo;
    /**
     * 传真号码
     */
    @ApiModelProperty(value="传真号码")
    private String faxNo;
    /**
     * 联系人
     */
    @ApiModelProperty(value="联系人")
    private String linkMan;
    /**
     * 邮编
     */
    @ApiModelProperty(value="邮编")
    private String zipCode;
    /**
     * 状态，有效无效
     */
    @ApiModelProperty(value="状态，有效无效10041001")
    private Integer status;
    /**
     * 经销商类型：普通、军品、批售、改装、3S
     */
    @ApiModelProperty(value="经销商类型")
    private Integer agType;
    /**
     * 销售区域
     */
    @ApiModelProperty(value="销售区域")
    private String saleArea;
    /**
     * 价格组
     */
    @ApiModelProperty(value="价格组")
    private Integer priceGroup;
    /**
     * 付款条件
     */
    @ApiModelProperty(value="付款条件")
    private Integer payCond;
    /**
     * 库存标准设定
     */
    @ApiModelProperty(value="库存标准设定")
    private String stockSet;
    /**
     * 业务邮箱
     */
    @ApiModelProperty(value="业务邮箱")
    private String email;
    /**
     * 经度
     */
    @ApiModelProperty(value="经度")
    private String latitude;
    /**
     * 维度
     */
    @ApiModelProperty(value="维度")
    private String longitude;
    /**
     * 网点类型
     */
    @ApiModelProperty(value="网点类型")
    private Integer dotType;
    /**
     * 分销商级别
     */
    @ApiModelProperty(value="分销商级别")
    private Integer distributorLevel;
    /**
     * 认证大客户代码
     */
    @ApiModelProperty(value="认证大客户代码")
    private String authCustCode;
    private Integer creditType;
    /**
     * 经销商营业状态
     */
    @ApiModelProperty(value="经销商营业状态")
    private Integer businessStatus;
    /**
     * 维修站ID
     */
    @ApiModelProperty(value="维修站ID")
    private Long ascId;
    /**
     * 维修站代码
     */
    @ApiModelProperty(value="维修站代码")
    private String ascCode;
    private Integer isDeleted;

    public Integer getDealerInfoId() {
        return dealerInfoId;
    }

    public void setDealerInfoId(Integer dealerInfoId) {
        this.dealerInfoId = dealerInfoId;
    }

    public String getGroupCompanyCode() {
        return groupCompanyCode;
    }

    public void setGroupCompanyCode(String groupCompanyCode) {
        this.groupCompanyCode = groupCompanyCode;
    }

    public Integer getGroupCompanyId() {
        return groupCompanyId;
    }

    public void setGroupCompanyId(Integer groupCompanyId) {
        this.groupCompanyId = groupCompanyId;
    }

    public String getOldDealerCode() {
        return oldDealerCode;
    }

    public void setOldDealerCode(String oldDealerCode) {
        this.oldDealerCode = oldDealerCode;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public String getDealerShortname() {
        return dealerShortname;
    }

    public void setDealerShortname(String dealerShortname) {
        this.dealerShortname = dealerShortname;
    }

    public LocalDateTime getSourceChangedAt() {
        return sourceChangedAt;
    }

    public void setSourceChangedAt(LocalDateTime sourceChangedAt) {
        this.sourceChangedAt = sourceChangedAt;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getCountyId() {
        return countyId;
    }

    public void setCountyId(Integer countyId) {
        this.countyId = countyId;
    }

    public Integer getValidStatus() {
        return validStatus;
    }

    public void setValidStatus(Integer validStatus) {
        this.validStatus = validStatus;
    }

    public String getOwnerParCode() {
        return ownerParCode;
    }

    public void setOwnerParCode(String ownerParCode) {
        this.ownerParCode = ownerParCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getIsAuz() {
        return isAuz;
    }

    public void setIsAuz(Integer isAuz) {
        this.isAuz = isAuz;
    }

    public String getTaxNo() {
        return taxNo;
    }

    public void setTaxNo(String taxNo) {
        this.taxNo = taxNo;
    }

    public String getFaxNo() {
        return faxNo;
    }

    public void setFaxNo(String faxNo) {
        this.faxNo = faxNo;
    }

    public String getLinkMan() {
        return linkMan;
    }

    public void setLinkMan(String linkMan) {
        this.linkMan = linkMan;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAgType() {
        return agType;
    }

    public void setAgType(Integer agType) {
        this.agType = agType;
    }

    public String getSaleArea() {
        return saleArea;
    }

    public void setSaleArea(String saleArea) {
        this.saleArea = saleArea;
    }

    public Integer getPriceGroup() {
        return priceGroup;
    }

    public void setPriceGroup(Integer priceGroup) {
        this.priceGroup = priceGroup;
    }

    public Integer getPayCond() {
        return payCond;
    }

    public void setPayCond(Integer payCond) {
        this.payCond = payCond;
    }

    public String getStockSet() {
        return stockSet;
    }

    public void setStockSet(String stockSet) {
        this.stockSet = stockSet;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public Integer getDotType() {
        return dotType;
    }

    public void setDotType(Integer dotType) {
        this.dotType = dotType;
    }

    public Integer getDistributorLevel() {
        return distributorLevel;
    }

    public void setDistributorLevel(Integer distributorLevel) {
        this.distributorLevel = distributorLevel;
    }

    public String getAuthCustCode() {
        return authCustCode;
    }

    public void setAuthCustCode(String authCustCode) {
        this.authCustCode = authCustCode;
    }

    public Integer getCreditType() {
        return creditType;
    }

    public void setCreditType(Integer creditType) {
        this.creditType = creditType;
    }

    public Integer getBusinessStatus() {
        return businessStatus;
    }

    public void setBusinessStatus(Integer businessStatus) {
        this.businessStatus = businessStatus;
    }

    public Long getAscId() {
        return ascId;
    }

    public void setAscId(Long ascId) {
        this.ascId = ascId;
    }

    public String getAscCode() {
        return ascCode;
    }

    public void setAscCode(String ascCode) {
        this.ascCode = ascCode;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}
